package com.sykj.manage.service.imp;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sykj.manage.dao.BisNurseProjectsDao;
import com.sykj.manage.service.BisNurseProjectsService;
import com.sykj.manage.model.BisCustomUser;
import com.sykj.manage.model.BisNurseProject;
import com.sykj.weichat.service.BisCustomUserService;

@Service
public class BisNurseProjectsServiceImpl implements BisNurseProjectsService{

	@Autowired
	BisNurseProjectsDao bnpDao;

	@Override
	public List<BisNurseProject> findAll(BisNurseProject bisNurseProject) {
		// TODO Auto-generated method stub
		return bnpDao.findAll(bisNurseProject);
	}

	@Override
	public int deleteId(String project_id) {
		// TODO Auto-generated method stub
		return bnpDao.deleteId(project_id);
	}

	@Override
	public int addProjects(BisNurseProject bisNurseProject) {
		// TODO Auto-generated method stub
		return bnpDao.addProjects(bisNurseProject);
	}

	@Override
	public BisNurseProject findByProjectId(String project_id) {
		// TODO Auto-generated method stub
		return bnpDao.findByProjectId(project_id);
	}

	@Override
	public int updateProject(BisNurseProject bisNurseProject) {
		// TODO Auto-generated method stub
		return bnpDao.updateProject(bisNurseProject);
	}

	@Override
	public BisNurseProject findByProjectXQ(String project_id) {
		// TODO Auto-generated method stub
		return bnpDao.findByProjectXQ(project_id);
	}


}
